﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI;

/// <summary>
///TemplateSearchShow 的摘要说明
/// </summary>
public class TemplateSearchShow:BaseSearchShow
{
	public TemplateSearchShow()
	{
		//
		//TODO: 在此处添加构造函数逻辑
		//
	}

    protected override IEnumerable<Control> GetSearchContrls(ConfigColumns cCol)
    {
        Page page = HttpContext.Current.Handler as Page;
        if (page != null)
        {
            Control ctrl = page.LoadControl(cCol.SearchShowTemplatePath);
            ctrl.ID = cCol.ColumnName + "_SearchShow";
            yield return ctrl;
        }
    }
}
